package com.cloudkinto.service.fbaorderoutput.vo;

import com.cloudkinto.service.orderoutput.vo.OrderOutputProductAddReq;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * Author Administrator
 *
 * @Des
 * @Version
 * @Date 2020/6/5
 */
@Data
public class FbaOrderOutputPackageAddReq {
    @ApiModelProperty("名称")
    private Long orderOutputId;

    @ApiModelProperty("长度")
    @Min(value= 0 ,message= "pls.input.length.g0" )
    private double length;

    @ApiModelProperty("宽度")
    @Min(value= 0 ,message= "pls.input.width.g0" )
    private double width;

    @ApiModelProperty("高度")
    @Min(value= 0 ,message= "pls.input.height.g0" )
    private double height;

    @ApiModelProperty("重量")
    @Min(value= 0 ,message= "pls.input.weight.g0" )
    private double weight;

    @ApiModelProperty("po号")
    // @NotBlank(message = "pls.input.po")
    private String poNumber;

    @ApiModelProperty("UPC/FNSKU")
//    @NotBlank(message = "请填写upc编号")
    private String upcNumber;

    @ApiModelProperty("备注")
    private String tips;

    @ApiModelProperty("包裹数量")
    @Min(value= 1 ,message= "pls.input.count.g0" )
    private int packageCount;

//    @NotEmpty(message = "请选择商品")
    private List<FbaOrderOutputProductAddReq> productList;

}
